appVersionApp.service('appVersionService', ['$http', '$q', 'baseService',
    function ($http, $q, baseService) {
        return {
            list: function (param) {
                var url = _ctx + '/appVersion/list';
                return baseService.post(url, param);
            },
            add: function (record) {
                var url = _ctx + '/appVersion/add';
                return baseService.post(url, record);
            },
            delete: function (json) {
                var url = _ctx + '/appVersion/delete';
                return baseService.post(url, json);
            },
            edit: function (record) {
                var url = _ctx + '/appVersion/edit';
                return baseService.post(url, record);
            },
            detail: function (id) {
                var url = _ctx + '/appVersion/detail';
                return baseService.post(url, id);
            }
        }
    }
]);
